Could you describe with a five lines max snippet why you felt in love with Python? [closed]

Posted by systempuntoout on Stack Overflow See other posts from Stack Overflow or by systempuntoout
Published on 2010-04-15T17:45:09Z Indexed on 2010/04/15 21:03 UTC
Read the original article Hit count: 162

Filed under:
|

I coded in Java for many years and after i saw this beauty:

with open("spam.egg") as f:
    for line in f:
       print line

i said to myself, i can't use Java's StreamVerboseCrapByteOpenBuffer stuff anymore. What's your snippet?

© Stack Overflow or respective owner

Related posts about python

Related posts about subjective